//This object is used to load and handle (visually) the full details of one selected resource
function FullDetailsViewModel() {
	FullDetailsViewModel.prototype.meaningfulDescription = ko.observable("");
	FullDetailsViewModel.prototype.additionalText = ko.observable("");
	FullDetailsViewModel.prototype.categorization = ko.observable("");
	FullDetailsViewModel.prototype.displayTitle = ko.observable("");
	FullDetailsViewModel.prototype.resourceType = ko.observable("");
	FullDetailsViewModel.prototype.mediaType = ko.observable("");
	FullDetailsViewModel.prototype.GUID = ko.observable("");
	FullDetailsViewModel.prototype.language = ko.observable("");
	FullDetailsViewModel.prototype.standards = ko.observableArray();
	}
	FullDetailsViewModel.prototype.bindAdditionalDetailsData = function(content){
		this.meaningfulDescription(content.meaningfulDescription);
		this.additionalText(content.additionalText);
		this.categorization(content.categorization);
		this.displayTitle(content.displayTitle);
		this.mediaType(content.mediaType);
		this.resourceType(content.resourceType);
		this.language(content.language);
		this.GUID(content.GUID);
		var self=this;
		this.standards.removeAll();
		if (content.standards){		
			content.standards.forEach(function(s){
				self.standards.push({description:s});
			});
		}
		
	}